home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Cookbook
/
01a.hello.Ch6Ex2
/
MyObject.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
337b
|
25 lines
/* Generated by Interface Builder */
#import "MyObject.h"
#import <appkit/Control.h>
#import <strings.h>
@implementation MyObject
- setTextOutlet:anObject
{
textOutlet = anObject;
return self;
}
- buttonAction:sender
{
strcat(myString, "hello, world\n");
[textOutlet setStringValue:myString];
return self;
}
@end